export default {
    teacherInfo: () => ({ //老师列表数据
        code: 1,
        msg: "查询成功",
        data: [
            {
                teacherId:1,
                account: '1111',
                name: '张三1',
                password: '1234',
                college: '计算机',
                e_mail:'123@qq.com',
                phone:'18623458778'
            },
            {
                teacherId:2,
                account: '1112',
                name: '张三2',
                password: '1234',
                college: '计算机',
                e_mail:'123@qq.com',
                phone:'18623458778'
            },
            {
                teacherId:3,
                account: '1113',
                name: '张三3',
                password: '1234',
                college: '计算机',
                e_mail:'123@qq.com',
                phone:'18623458778'
            },
            {
                teacherId:4,
                account: '1114',
                name: '张三4',
                password: '1234',
                college: '计算机',
                e_mail:'123@qq.com',
                phone:'18623458778'
            },
            {
                teacherId:5,
                account: '1115',
                name: '张三5',
                password: '1234',
                college: '计算机',
                e_mail:'123@qq.com',
                phone:'18623458778'
            },
            {
                teacherId:6,
                account: '1116',
                name: '张三6',
                password: '1234',
                college: '计算机',
                e_mail:'123@qq.com',
                phone:'18623458778'
            },
            {
                teacherId:7,
                account: '1117',
                name: '张三7',
                password: '1234',
                college: '计算机',
                e_mail:'123@qq.com',
                phone:'18623458778'
            },
            {
                teacherId:8,
                account: '1118',
                name: '张三8',
                password: '1234',
                college: '计算机',
                e_mail:'123@qq.com',
                phone:'18623458778'
            },
            {
                teacherId:9,
                account: '1119',
                name: '张三9',
                password: '1234',
                college: '计算机',
                e_mail:'123@qq.com',
                phone:'18623458778'
            },
            {
                teacherId:10,
                account: '1110',
                name: '张三10',
                password: '1234',
                college: '计算机',
                e_mail:'123@qq.com',
                phone:'18623458778'
            }
        ]
    }),


    teacherDelete: () => ({ // 删除老师信息
        code: 1,
        msg: "删除成功"
    }),
    teacherModify: () =>({//修改老师信息
        code: 1,
        msg: '修改成功!',

    }),
    teacherQuery: () => ({ // 搜索老师信息
        code: 1,
        msg: "搜索成功",
        data: {
            teacherRecord: [
                {
                    teacherId:1,
                    account: '1111',
                    name: '张三1',
                    password: '1234',
                    college: '计算机',
                    e_mail:'123@qq.com',
                    phone:'18623458778'
                },
                {
                    teacherId:2,
                    account: '1112',
                    name: '张三2',
                    password: '1234',
                    college: '计算机',
                    e_mail:'123@qq.com',
                    phone:'18623458778'
                },
                {
                    teacherId:3,
                    account: '1113',
                    name: '张三3',
                    password: '1234',
                    college: '计算机',
                    e_mail:'123@qq.com',
                    phone:'18623458778'
                }]
        }
    }),
    deleteTeacher:() => ({ //批量删除老师信息
    code: 1,
    msg: "删除成功",
    data:{
        flag : true
    }
}),
    teacherCollege:() =>({
        code: 1,
        msg:"查询到所有学院",
        data:[
            {
                collegeName: '计算机学院'
            },
            {
                collegeName: '商学院'
            },
            {
                collegeName: '人文学院'
            },
            {
                collegeName: '外国语学院'
            },
            {
                collegeName: '物理学院'
            },
            {
                collegeName: '数学学院'
            }

]
    })


}
